package com.sc.oa.entity;

import java.util.HashSet;
import java.util.Set;


/**
 * SysMenu entity. @author MyEclipse Persistence Tools
 */

public class SysMenu  implements java.io.Serializable {


    // Fields    

	private Integer menuId;
	private SysFuntion sysFuntion;
	private String menuName;
	private String menuUrl;
	private String menuIcon;
	private Integer menuOrder;
	private Integer status;
	private String remark;
	private SysMenu parent;
	private Set<SysMenu> children = new HashSet<SysMenu>();//作为children


    // Constructors

    /** default constructor */
    public SysMenu() {
    }

    // Property accessors

    public Integer getMenuId() {
        return this.menuId;
    }
    
    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }


    public String getMenuName() {
        return this.menuName;
    }
    
    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getMenuUrl() {
        return this.menuUrl;
    }
    
    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public String getMenuIcon() {
        return this.menuIcon;
    }
    
    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public Integer getMenuOrder() {
        return this.menuOrder;
    }
    
    public void setMenuOrder(Integer menuOrder) {
        this.menuOrder = menuOrder;
    }

    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }


	public Set<SysMenu> getChildren() {
		return children;
	}

	public void setChildren(Set<SysMenu> children) {
		this.children = children;
	}

	public SysFuntion getSysFuntion() {
		return sysFuntion;
	}

	public void setSysFuntion(SysFuntion sysFuntion) {
		this.sysFuntion = sysFuntion;
	}

	public SysMenu getParent() {
		return parent;
	}

	public void setParent(SysMenu parent) {
		this.parent = parent;
	}

  
    
}